package com.quiz;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

public class Main extends Activity implements OnClickListener{
    /** Called when the activity is first created. */
	Button challenge;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
                                WindowManager.LayoutParams.FLAG_FULLSCREEN);
        
        setContentView(R.layout.main);
        
        challenge = (Button) findViewById(R.id.challenge);
        challenge.setOnClickListener(this);
       
        
    }
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		if(v == challenge){
			Intent intent = new Intent(Main.this, LeverChoice.class);
			startActivity(intent);
		}
	}
}